<%-- 
    Document   : login
    Created on : 13/07/2013, 2:14:08 PM
    Author     : Andrea
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>LOGIN</title>
    </head>
    <body>
        <h1>Login</h1>
        
        <html:form action="/login">
            <table border="0">
                <tr>
                    <td colspan="2">
                        <bean:write name="LoginForm" property="error" filter="false"/>
                    &nbsp;</td>
                </tr>
                <tr>
                    <td>Enter your username:</td>
                    <td><html:text property="name" /></td>
                </tr>
                <tr>
                    <td>Enter your password:</td>
                    <td><html:text property="password" /></td>
                </tr>
                <tr>
                    <td></td>
                    <td><html:submit value="Login" /></td>
                </tr>
            </table>
        </html:form>
    
    </body>
</html>
